package com.hskj.springboot.controller;

import com.hskj.springboot.bean.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PersonController {
    @Autowired
    private Person person;
    @RequestMapping("/person")
    public  Person main(String[] args) {
        return person;
    }

}
